package com.battcn.entity;

import java.io.Serializable;

/**
 * @author Levin
 * @since 2018/5/7 0007
 */
public class User implements Serializable {

    private static final long serialVersionUID = 8655851615465363473L;

    private int id;
    private String name;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public User() {
    }

    public User(String name) {
        this.name = name;
    }

    @Override
    public String toString() {
        return "User{" +
                "id=" + id +
                ", name='" + name + '\'' +
                '}';
    }
}
